package com.design.mode.template;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-04-12 10:36:07
 */
public interface TemplateWork {

    boolean write();

    boolean commit();

    boolean action();

    default boolean work() {

        return write() && commit() && action();
    }
}
